//
// Int32.cpp for  in /home/lund/Projets/abstract-vm/vmtmp
// 
// Made by florian dewulf
// Login   <dewulf_f@epitech.net>
// 
// Started on  Mon Feb 18 11:02:55 2013 florian dewulf
// Last update Tue Feb 19 21:38:36 2013 kevin lansel
//

#include	"Int32.hpp"

Int32::Int32(const int &value, const std::string &str) : AOperand(value, str), _value(value)
{
}

Int32::Int32(const Int32 &other) : _value(other.getValue())
{
}

Int32::~Int32()
{
}

Int32		&Int32::operator=(const Int32 &other)
{
  this->_value = other.getValue();
  return (*this);
}

int		Int32::getSize() const
{
  return (this->_value);
}

void		Int32::setSize(const int &size)
{
  this->_value = size;
}

eOperandType	Int32::getType() const
{
  return (INT32);
}
